Carbon


GetEntryUsage

Header: Palettes.h Carbon status: Supported

Obtains the usage and tolerance fields of a palette entry.

void GetEntryUsage (
    PaletteHandle srcPalette, 
    SInt16 srcEntry, 
    SInt16 *dstUsage, 
    SInt16 *dstTolerance
);
Parameter descriptions
srcPalette

A handle to the palette to be accessed.

srcEntry

The palette entry whose usage and tolerance are desired.

dstUsage

A pointer to the usage value of the palette entry.

dstTolerance

A pointer to the tolerance value of the palette entry.

DISCUSSION

You can modify the entry’s usage and tolerance values by using the SetEntryUsage function.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)